package com.lelv.business.travelAgency.bo;

import com.lelv.business.travelAgency.dao.ITravelAgencyDao;
import com.lelv.business.travelAgency.model.TravelAgency;
import com.lelv.framework.plugin.Page;

public class TravelAgencyBoImpl implements ITravelAgencyBo {

	private ITravelAgencyDao travelAgencyDao;

	public ITravelAgencyDao getTravelAgencyDao() {
		return travelAgencyDao;
	}

	public void setTravelAgencyDao(ITravelAgencyDao travelAgencyDao) {
		this.travelAgencyDao = travelAgencyDao;
	}

	@Override
	public void addTravelAgency(TravelAgency ta) {
		// TODO Auto-generated method stub
		this.travelAgencyDao.addTravelAgency(ta);
	}

	@Override
	public Page getTravelAgencyPage(Page page) {
		// TODO Auto-generated method stub
		return this.travelAgencyDao.getTravelAgencyPage(page);
	}

	@Override
	public void deleteTravelAgency(Long id) {
		// TODO Auto-generated method stub
		this.travelAgencyDao.deleteTravelAgency(id);
	}

}
